"C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Publishing\1.4\sqlpubwiz" script -f -schemaonly -nodropexisting -targetserver 2008 -S (local) -d ControllableQuery "ControllableQuery.sql"
@pause